package lab02.Test07;

/**
 * Created by Administrator on 2017/10/18.
 */
public class Test07 {
    public static void main(String[] args) {
        Person yao = new Person();
        yao.setName("zhaoyi");
        yao.setAge(19);
        yao.setId("511023199812268411");
        System.out.println(yao.toString());
        Student jian = new Student();
        jian.setName("qianer");
        jian.setAge(20);
        jian.setId("511023199822268412");
        jian.setStudentNum("1606101086");
        jian.setSchool("sctu");
        System.out.println( jian.toString());
    }
}
